http://www.panoramio.com/map/get_panoramas.php?set=6155292&from=0&to=20&minx=-180&miny=-90&maxx=180&maxy=90&size=medium&mapfilter=true


$.getJSON("http://www.panoramio.com/map/get_panoramas.php?set=6155292&from=0&to=20&minx=-180&miny=-90&maxx=180&maxy=90&size=medium&mapfilter=true",

   {},

   function(data) {

       var thePicsHTML;

       $(data).each(function(i, item) {

         thePhoto=$(this)[0].photos[i];

         thePicsHTML +="<img src='" + thePhoto.photo_file_url + "'>";

         thePicsHTML += "";

         thePicsHTML += thePhoto.photo_title;

         thePicsHTML += "";

         thePicsHTML += "Photo from: " + thePhoto.owner_name;

         thePicsHTML += "";

         thePicsHTML += "<a href='" + thePhoto.photo_url + "' target=_blank>Check the photo at Panoramio</a>";

        thePicsHTML += "<p>";

       })

      $("#thePics").html(thePicsHTML);

   }

);